#ifndef COMPILE_RUN

#include "header.cpp"

#endif

void Test1()
{
    vector<int> v = {1,2,3,4,5,6,12,3,4,-1};
    if(Solution().SelectMax(v) == 12)
    {
        std::cout << "已通过Test1" << std::endl;
    }
    else
    {
        std::cout << "未通过Test1，测试用例为：{1,2,3,4,5,6,12,3,4,-1}" << std::endl;
    }
}

void Test2()
{
    vector<int> v = {INT_MAX, INT_MIN, 0};
    if(Solution().SelectMax(v) == INT_MAX)
    {
        std::cout << "已通过Test2" << std::endl;
    }
    else
    {
        std::cout << "未通过Test2，测试用例为：{INT_MAX, INT_MIN, 0}" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}